const { examTypeModel } = require("../models/examTypeModel");
const jwt = require("jsonwebtoken");

async function  getAllExamType(req,res,next){
    let examTypes = await examTypeModel.find({});
    // console.log(examTypes)
    res.send(examTypes)
}

module.exports = {
    getAllExamType
}
